﻿<%@ Page Title="" Language="VB"  AutoEventWireup="false" CodeFile="KycFileScan.aspx.vb" Inherits="Administrator_KycFileScan" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>GHBank : Know Your Customer</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../lib/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" media="all" href="../lib/css/jsDatePick.css" />
<link href="../AMLO/StyleSheet.css" rel="stylesheet" type="text/css" />

    <link type="text/css" href="../lib/Javascript/jquery1_7/development-bundle/themes/ui-lightness/ui.all.css" rel="stylesheet" />
    <script type="text/javascript" src="../lib/Javascript/jquery1_7/development-bundle/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="../lib/Javascript/jquery1_7/development-bundle/ui/ui.core.js"></script>
	<script type="text/javascript" src="../lib/Javascript/jquery1_7/development-bundle/ui/ui.tabs.js"></script>
    <script type="text/javascript" src="../lib/Javascript/jquery1_7/development-bundle/ui/ui.datepicker.js"></script>
  <link type="text/css" href="../lib/Javascript/jquery1_7/development-bundle/demos/demos.css" rel="stylesheet" />
  <script type="text/javascript" src="../lib/jsPopup/popupPost.js"></script>
    


<style type="text/css">

.black {
	color: #000;

}
.control{
        font-weight:normal;
        font-style: normal;
        font-variant: normal;
        font-size: 14px;
        line-height: 20px;
        font-family: Arial, Helvetica, sans-serif;
    }
 .cssPager span { background-color:#ffffff; font-size:20px;
                  padding-left: 4px;     
                  padding-right: 4px; 
                  }




/*Modal Popup*/
.modalBackground {
    background-color:Gray;
    filter:alpha(opacity=70);
    opacity:0.7;
}

.modalPopup {
    background-color:#ffffdd;
    border-width:3px;
    border-style:solid;
    border-color:Gray;
    padding:3px;
    text-align:center;
}
.hidden {display:none}

</style>

</head>

<body >

    <form id="form1" runat="server" autocomplete="off">
    8<%--        <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">--%><script type="text/javascript">

     var hasSubmitted = 0;
     function NoDoubleSubmit() {
         var divMsg = document.getElementById('Processing');
         if (hasSubmitted == 0) {
             hasSubmitted = 0;
             divMsg.style.display = 'block';
             return true;
         }
         return false;
     }

    </script><table class="control" style="width:100%;">
                <tr>
                    <td align="right" width="150">
                        หมายเลขประจำตัว (CIF) :
                    </td>
                    <td align="left" style="height: 26px; ">
                        <asp:TextBox ID="txtCustomerNo" runat="server" CssClass="control" Enabled="false" />
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">
                        ชื่อลูกค้า (ไทย) :
                    </td>
                    <td align="left" style="height: 26px; ">
                        <asp:TextBox ID="txtCusNameTh" runat="server" CssClass="control" Width="400" Enabled="false" />
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">
                        ชื่อลูกค้า (อังกฤษ) :
                    </td>
                    <td align="left" style="height: 26px; ">
                        <asp:TextBox ID="txtCusNameEn" runat="server" CssClass="control" Width="400" Enabled="false" />
                    </td>
                </tr>
                <tr bgcolor="#FF9933">
                    <td colspan="2" style="text-align: center">
                        <strong>Upload ไฟล์เอกสาร</strong>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">
                        ประเภทเอกสาร :
                    </td>
                    <td align="left" style="height: 26px; ">
                        <asp:DropDownList ID="ddlFileType" runat="server" CssClass="control" BackColor="#FFCCCC" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        ชื่อเอกสาร :
                    </td>
                    <td align="left" style="height: 26px; ">
                        <input id="FileUpload1" runat="Server" class="control" 
                            style="width: 400px;background-color: #FFCCCC;" type="file" />
                        <asp:TextBox ID="txtFileName" runat="server" Enabled="False" 
                            Visible="False" Width="250px"></asp:TextBox>
                        &nbsp;<asp:HiddenField ID="hdfUpload" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        ความสำคัญของเอกสาร :
                    </td>
                    <td align="left" style="height: 26px; ">
                        <asp:TextBox ID="txtAmount" runat="server" CssClass="control" Width="400" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        &nbsp;</td>
                    <td align="right">
                        &nbsp;<asp:Button ID="btnSearch" runat="server" CssClass="control" Text="ค้นหา" 
                            Width="80px" />
                        &nbsp;<asp:Button ID="btnUpload" runat="server" CssClass="control" Text="อัพโหลด" 
                            Width="80px" />
                        &nbsp;<asp:Button ID="btnModify" runat="server" CssClass="control" Text="แก้ไข" 
                            Width="80px" />
                        &nbsp;<asp:Button ID="btnDelete" runat="server" CssClass="control" Text="ลบ" 
                            Width="80px" />
                        &nbsp;<asp:Button ID="btnClear" runat="server" CssClass="control" Text="เคลียร์" 
                            Width="80px" />
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                       <SPAN id="Processing" style="DISPLAY: none">
 <img src="../img/icon/ajax-loader.gif" alt="Please wait" />
            กรุณารอสักครู่ อยู่ระหว่างดำเนินการ...
  </SPAN></td>
                </tr>
            </table>
            <div align="center">
                <asp:Label ID="lblMsg" runat="server" CssClass="control" Font-Size="XX-Large" 
                    ForeColor="Red" Height="30px" style="text-align: center" Visible="false"
                    Font-Bold="True"></asp:Label>
                <asp:GridView ID="grdImportList" runat="server" AllowPaging="true" AllowSorting="true"
                    AutoGenerateColumns="False" CellPadding="4" CssClass="control" 
                    ForeColor="#333333" Width="100%">
                    <FooterStyle BackColor="White" Font-Bold="True" ForeColor="#333333" />
                    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <PagerSettings Mode="NumericFirstLast" />
                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" CssClass="cssPager" />
                    <SelectedRowStyle BackColor="#FFFFCC" Font-Bold="True" ForeColor="Navy" />
                    <HeaderStyle BackColor="#E38120" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif"
                            ShowSelectButton="True">
                            <ItemStyle Width="30px" HorizontalAlign="Center" />
                        </asp:CommandField>
                        <asp:BoundField DataField="FILE_TYPE" HeaderText="ประเภทเอกสาร" SortExpression="FILE_TYPE" HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden" />
                        <asp:BoundField DataField="FILE_TYPE_NAME" HeaderText="ประเภทเอกสาร" SortExpression="FILE_TYPE_NAME">
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="ชื่อไฟล์เอกสาร" SortExpression="file_name">
                            <ItemTemplate>
                                <asp:HyperLink ID="linkImg" runat="server" Text='<%#Eval("file_name")%>' Target="_blank" />
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="left" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="amount" HeaderText="ความสำคัญของเอกสาร" SortExpression="amount">
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="upload_date" HeaderText="วันที่นำเข้าระบบ" DataFormatString="{0:dd/MM/yyyy HH:mm:ss}" SortExpression="upload_date">
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
            </div>
            <div align="right">
                <asp:Label ID="lblTotal" runat="server" Font-Bold="True" ForeColor="#003300"></asp:Label>
            </div>
<%--        </asp:Content>--%>
   </form>
    </body>
</html>


